﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using ThinkDotNetBotApiCommon.Ammos;

namespace ThinkDotNetEngine.Bots.Ammos
{
    public interface IAmmoHandler
    {
        IAmmoBase[] LaunchedAmmos { get; }
        event NotifyCollectionChangedEventHandler AmmosCollectionChanged;
        bool CanBeLaunched(double lastLaunchTime, double launchTime);
        GameTime AddAmmo(IAmmoBase ammoBase);
        void UpdateAll(GameTime gameTime);
        void Update(GameTime gametime, AmmoBase ammoBase, out bool isRemoved);
    }
}
